<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>分享会员列表</title>
		<link rel="stylesheet" href="__OEM__/css/iconfont.css" />
		<link rel="stylesheet" href="__OEM__/css/css.css" />
		<style>
			.empty {
				top: 83px;
			}
		</style>
	</head>

	<body>
		{include file="public/header" /}
		<div class="index_conbox">
			<div class="index_content clearfix">
				{include file="public/lefter" /}
				<div class="right">
					<!--右侧内容-->
					<div class="rigtop">
						<span class="title">分享会员列表</span>
					</div>
					<div class="indrig_con">
						<div class="zizh_conbox" style="padding-top: 20px;">
							<!--选项卡内容开始-->
							<form id="my_form" action="{:url('oem/Bluesea/index')}" method="post">
								<div class="shxx_row chax_row clearfix">
						            <div class="left"  style='width:100px'>总赏金：</div>
						            <div class="right clearfix">
						                <div class="layui-inline">
									      <div class="layui-input-inline">
									        <input type="text" class="layui-input" name="begin_balance" id="begin_balance" value="" placeholder="">
									      </div>
									    </div>
						                <i class="chax_line"></i>
						                <div class="layui-inline">
									      <div class="layui-input-inline">
									        <input type="text" class="layui-input" name="end_balance"  id="end_balance" value="" placeholder="">
									      </div>
									    </div>
						            </div>
						        	</div>
								<div class="zizh_con_1">
									<div class="shxx_row chax_row  clearfix">
										<div class="left" style='width:100px'>会员手机号：</div>
										<div class="right clearfix">
											<input type="text" name="mobile" value="" id="mobile" placeholder="会员手机号" class="chax_input" />
										</div>
										<div class="left" style='width:100px'>推广人数：</div>
										<div class="right clearfix">
											<input type="text" name="count" value="" id="count" placeholder="推广人数" class="chax_input" />
										</div>
									</div>
									<!--<div class="shxx_row chax_row  clearfix">
										<div class="left" style='width:100px'>总赏金：</div>
										<div class="right clearfix">
											<input type="text" name="count_balance" value="" id="count_balance" placeholder="总赏金" class="chax_input" />
										</div>
									</div>-->
									<div class="shxx_row chax_row  clearfix">
										<button type="button" class="htcxbtn" id='btn'>查询</button>
									</div>
									</id>
							</form>
							<div class="chax_conbox" id='chax_conbox'>
								<div class="chax_jiegnr">
									<table class="zizh_table1 zizh_table2">
										<thead>
											<tr>
												<th style="width:2%;">会员ID</th>
												<th style="width:8%;">昵称</th>
												<th style="width:10%;">手机号码</th>
												<th style="width:11%;">推广人数</th>
												<th style="width:11%;">总赏金</th>
												<th style="width:8%;">鼓励金余额</th>
												<th style="width:5%;">钱包余额</th>
											</tr>
										</thead>
										<tbody id="tbody">
											{volist name="list" id="vo" empty="$empty"}
											<tr>
												<td>{$vo.id}</td>
												<td>{$vo.user_name}</td>
												<td>{$vo.mobile}</td>
												<td>{$vo.count?$vo.count : 0}</td>
												<td>{$vo.count_balance?$vo.count_balance:'0.0000'}</td>
												<td>{$vo['score']}</td>
												<td>{$vo['balance']}</td>
											</tr>
											{/volist}
										</tbody>
									</table>
									<div class="fenye" style="display: block;">
										{$list->render()}
									</div>
								</div>
							</div>
							</div>
						</div>

					</div>
				</div>
			</div>
		</div>
		{include file="public/footer" /}

	</body>

</html>
<script>
		//数据提交
	$('#btn').click(function(){
		$.ajax({
         	type:"post",
            url:"{:url('oem/Bluesea/index')}",
            data: $('#my_form').serialize(),//表单数据
            success:function(data){
            	$('#chax_conbox').html(data);
            },error:function(data){
            	var a = data;
            }
        });
	})
</script>